package com.meilai.project.dto.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 张驰
 * @date 2022/3/29 13:18
 */
@Data
@ApiModel(value="请求对象-app替换工单点位对象", description="请求对象-app替换工单点位")
public class AppReplacePointDTO {

    @NotNull(message = "工单id，work_order表的id")
    @ApiModelProperty(value = "工单id", required = true)
    private Long work_order_id;

    @NotNull(message = "原设备id")
    @ApiModelProperty(value = "原设备id", required = true)
    private Long old_device_id;

    @NotNull(message = "现设备id")
    @ApiModelProperty(value = "现设备id", required = true)
    private Long new_device_id;
}
